package homework03;

public class Musicband {
    public MusicInstrument[] playMusic(MusicInstrument[] musicInstrument){
        for (int i = 0; i < musicInstrument.length; i++) {
            musicInstrument[i].play();
        }
        return musicInstrument;
    }
}
